package com.taotao.slink.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * <p>
 *
 * </p>
 *
 * @author fanbeibei
 * @version 1.0.0
 * @date 2023/6/26 14:56
 */
@Data
public class Link {
    @Size(max = 600,message = "链接地址最长{max}个字符")
    @NotBlank(message = "链接地址不能为空")
    @ApiModelProperty(value = "链接地址")
    private String srcLink;

}
